<?php

class Categories extends Db
{
    public function select() {
        $sql = 'SELECT * FROM categories ORDER BY name ASC';
        $categories = $this->query($sql);
        return $categories;
    }
}
